package com.parachutes.aspinterfaceapi.domain;

import com.github.pagehelper.PageInfo;
import com.parachutes.aspsystemapi.domian.Result;
import org.springframework.cloud.client.loadbalancer.reactive.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "asp-interface", fallback = InterfaceFallback.class)
public interface InterfaceFeign {

    @GetMapping("info/list-by-ids")
    Result<PageInfo<BusInterface>> getInfoByIds(@RequestParam(value = "ids") String ids
            , @RequestParam(value = "page") Integer page
            , @RequestParam(value = "size") Integer size);
}
